package a.f.l.a;

import a.c.ab;
import a.c.d;
import a.c.m;
import a.d.t;

import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;

public class rb
{
  private final pb a;
  private final qb b;
  private final double c;
  private final lc d;
  private ab e;
  private d f;
  private Set g;
  private Set h;
  private List i;
  private List j;
  private mb k;
  private mb l;
  private o m;
  private long n;
  private long o;
  public static boolean p;
  
  protected rb(pb parampb, qb paramqb)
  {
    this.a = parampb;
    this.b = paramqb;
    t localt = paramqb.c().t().b();
    this.c = (localt.b() + localt.c());
    this.d = new lc(paramqb);
  }
  
  public pb a()
  {
    return this.a;
  }
  
  public qb b()
  {
    return this.b;
  }
  
  public m c()
  {
    return this.e.l();
  }
  
  protected void a(ab paramab)
  {
    this.e = paramab;
  }
  
  public d d()
  {
    return this.f;
  }
  
  protected void a(d paramd)
  {
    this.f = paramd;
    this.i = this.b.c().t().a(paramd.e());
    this.g = new HashSet(this.i);
    this.k = null;
    this.j = this.b.c().t().a(paramd.f());
    this.h = new HashSet(this.j);
    this.l = null;
    this.m = this.b.c().a(paramd);
  }
  
  public o e()
  {
    return this.m;
  }
  
  public int f()
  {
    return this.i.size();
  }
  
  public void a(mb parammb)
  {
    if ((sb.e) || (this.g.add(parammb)))
    {
      this.i.add(parammb);
      this.k = null;
    }
  }
  
  public mb a(int paramInt)
  {
    return (mb)this.i.get(paramInt);
  }
  
  public boolean b(mb parammb)
  {
    return this.g.contains(parammb);
  }
  
  public mb g()
  {
    if (!sb.e) {
      if (this.k == null) {
        this.k = a(this.i);
      }
    }
    return this.k;
  }
  
  public int h()
  {
    return this.j.size();
  }
  
  public void c(mb parammb)
  {
    if ((sb.e) || (this.h.add(parammb)))
    {
      this.j.add(parammb);
      this.l = null;
    }
  }
  
  public mb b(int paramInt)
  {
    return (mb)this.j.get(paramInt);
  }
  
  public boolean d(mb parammb)
  {
    return this.h.contains(parammb);
  }
  
  public mb i()
  {
    if (!sb.e) {
      if (this.l == null) {
        this.l = a(this.j);
      }
    }
    return this.l;
  }
  
  private mb a(List paramList)
  {
    int i1 = sb.d;
    double d1 = 1.7976931348623157E+308D;
    double d2 = 1.7976931348623157E+308D;
    double d3 = -1.797693134862316E+308D;
    double d4 = -1.797693134862316E+308D;
    Iterator localIterator = paramList.iterator();
    do
    {
      if (!localIterator.hasNext()) {
        break;
      }
      if (i1 != 0) {
        break label130;
      }
      mb localmb = (mb)localIterator.next();
      d1 = Math.min(d1, localmb.i());
      d3 = Math.max(d3, localmb.k());
      d2 = Math.min(d2, localmb.j());
      d4 = Math.max(d4, localmb.l());
    } while (i1 == 0);
    label130:
    return new mb(d1, d2, d3 - d1, d4 - d2, null);
  }
  
  double j()
  {
    return this.c;
  }
  
  public lc k()
  {
    return this.d;
  }
  
  void a(long paramLong)
  {
    this.n = paramLong;
  }
  
  long l()
  {
    return this.n;
  }
  
  void c(long paramLong)
  {
    this.o = paramLong;
  }
  
  long m()
  {
    return this.o;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.l.a.rb

 * JD-Core Version:    0.7.0.1

 */